package com.ruoyi.system.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("门店库存盘点工单DTO")
public class WorkOrderDTO {
    @ApiModelProperty(value = "当前页码", example = "1")
    private int pageNum = 1;

    @ApiModelProperty(value = "每页显示条数", example = "10")
    private int pageSize = 10;

    @ApiModelProperty("创建开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeStart;

    @ApiModelProperty("创建结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeEnd;

    @ApiModelProperty("盘点开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date stocktakingTimeStart;

    @ApiModelProperty("盘点结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date stocktakingTimeEnd;

    @ApiModelProperty("盘点单号")
    private String inventoryNumber;

    @ApiModelProperty("仓库")
    private Long warehouseId;

}
